package com.cnh.o2o.service;

import java.util.List;

import com.cnh.o2o.dto.AreaExecution;
import com.cnh.o2o.entity.Area;

/**
 * 
 * @author cnh  2018-3-28
 */
public interface AreaService {
	
	public  static final String AREALISTKEY = "arealist";
	/**
	 * 获取区域列表,优先从缓存获取
	 * @return
	 */
	List<Area> getAreaList();
	
	/**
	 * 
	 * @param area
	 * @return
	 */
	AreaExecution addArea(Area area);
	/**
	 * 
	 * @param area
	 * @return
	 */
	AreaExecution modifyArea(Area area);
	/**
	 * 
	 * @param areaId
	 * @return
	 */
	AreaExecution removeArea(long areaId);
	/**
	 * 
	 * @param areaIdList
	 * @return
	 */
	AreaExecution removeAreaList(List<Long> areaIdList);
}
